package co.edu.javeriana.aes.patrones.monopolio.gameroom;

import java.io.Serializable;

/**
 *
 * @author gersua
 */
public class Rules implements Serializable {

    private boolean goToJail;
    private boolean payFine;
    private boolean lendsAllowed;

    public Rules(boolean goToJail, boolean payFine, boolean lendsAllowed) {
        this.goToJail = goToJail;
        this.payFine = payFine;
        this.lendsAllowed = lendsAllowed;
    }

    public boolean isGoToJail() {
        return goToJail;
    }

    public void setGoToJail(boolean goToJail) {
        this.goToJail = goToJail;
    }

    public boolean isLendsAllowed() {
        return lendsAllowed;
    }

    public void setLendsAllowed(boolean lendsAllowed) {
        this.lendsAllowed = lendsAllowed;
    }

    public boolean isPayFine() {
        return payFine;
    }

    public void setPayFine(boolean payFine) {
        this.payFine = payFine;
    }
}
